<?php
/**
 * Created by PhpStorm.
 * User: Season
 * Date: 2018/10/9
 * Time: 15:53
 */

namespace app\api\controller\v2;


use app\api\validate\IDMustBePostiveInt;
use app\api\model\Banner as BannerModel;
use app\lib\exception\BannerMissException;
class Banner
{
    /**
     * @param $id
     * @throws \think\Exception
     * 获取指定的banner的id信息
     * @url banner/:id
     * @http get
     * @id banner的id号
     */
    public function getBanner($id){
        return 'v2版本'.$id;
    }
}